﻿#define _CRT_SECURE_NO_WARNINGS
#pragma once
#include <iostream>
#include <vtkm/Matrix.h>
#include <vtkm/cont/Algorithm.h>
#include <vtkm/cont/ArrayHandle.h>        //数组类的头文件 头文件是路径
#include <vtkm/worklet/WorkletMapField.h> //算子封装头文件
using namespace std;

template<typename T>
void SparseMatrix()
{

  vtkm::Matrix<T, N, M> A;
  
}

int main()
{
  const int N=2, M=2;
 
  vtkm::Matrix<int, N, M> A;

  A[0][0] = 1;
  A[0][1] = 1;
  A[1][0] = 1;
  A[0][1] = 1;
  cout << A << endl;

  system("pause");
  return EXIT_SUCCESS;
}